﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewChillers.Utils
{
    /// <summary>
    /// 设备数据静态存储类（记录各类实时）
    /// </summary>
    public static class DeviceDataStore
    {
        // 真空度（单位：Pa）
        public static double VacuumValue_real { get; set; }
        public static double VacuumValue01_real { get; set; }
        public static double VacuumValue02_real { get; set; }

        // 氦气值（单位：MPa）
        public static double HeliumValue_real { get; set; }
        public static double HeliumValue01_real { get; set; }

        // 温度值（单位：℃）
        public static double TemperatureValue_real { get; set; }

        //扫码枪扫描值
        public static string ScanValue_real { get; set; }

        //工作点1~6是否可用
        public static bool IsEnableWorkstation_01 { get; set; } = true;
        public static bool IsEnableWorkstation_02 { get; set; } = true;
        public static bool IsEnableWorkstation_03 { get; set; } = true;
        public static bool IsEnableWorkstation_04 { get; set; } = true;
        public static bool IsEnableWorkstation_05 { get; set; } = true;
        public static bool IsEnableWorkstation_06 { get; set; } = true;


        /// <summary>
        /// 设备运行状态
        /// 0：停止状态
        /// 1：抽真空
        /// 2：充氦气
        /// 3：排气?
        /// </summary>
        public static int DEV_STATUS = 0;
    }
}
